
from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField,TextAreaField
from wtforms.validators import DataRequired


class JokeForm(FlaskForm):
    tags = StringField('tags', validators=[DataRequired()])
    body = TextAreaField('What is your jokes?', validators=[DataRequired()])
    submit = SubmitField('Submit')
